<template>
  <div class="alreadyProcess">
    <div>
      <TicketSearch
        ref="alreadyProcess"
        :is_show_state = true
        :is_top = true
        category = 'worked'
      ></TicketSearch>
    </div>
  </div>
</template>

<script>
import TicketSearch from '@/components/TicketSearch'
export default {
  data(){
    return{
      
    }
  },
  mounted(){
    
  },
  methods:{

  },
  components:{
    TicketSearch,
  },
  //使用缓存组件时调用的钩子
  activated(){
    if(this.$store.state.is_cache){
      this.$refs.alreadyProcess.clearOptions()
    }else{
      this.$refs.alreadyProcess.onSearch()
    }
  },
}
</script>

<style scoped lang="less">
.alreadyProcess{
  // background: #fff;
  position: absolute;
  top:0;
  bottom: 0;
  width: 100%;
}
</style>